package com.zxf.appliction.dao;

import java.util.List;
import java.util.Map;

import com.zxf.appliction.domain.Columns;
import com.zxf.appliction.domain.Params;


public interface ColumnsMapper {
    int deleteByPrimaryKey(Integer channelid);

	int insert(Columns record);

	int insertSelective(Columns record);

	Columns selectByPrimaryKey(Integer channelid);

	int updateByPrimaryKeySelective(Columns record);

	int updateByPrimaryKey(Columns record);

    //级联菜单
    List findLeaf(int parentID);
	List getColumnList();

	Map<String, Object> getColumnJson();
//所有的菜单列表
	List getColumnAllist();

	List findColumnLeaf(int parentID, int leaf);
	//级联菜单
	List findColumnLeaf(Map paramsmap);
	//所有的菜单列表
	List getColumnsList(Params params);
    //总数
	int getcolumntotle(Params params);

	List getchannelIDs(int channelID);

	String getChildLst(int channelID);

	int delColumn(Map<String, Object> map);
	
}